package com.ming.springcloud.myhandler;


import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.ming.springcloud.entities.CommonResult;

public class CustomerBlockHandler {

    public static CommonResult handlerException(BlockException exception) {
        return new CommonResult(4444, "自定义限流处理信息....CustomerBlockHandler");
    }

    public static CommonResult handlerException2(BlockException exception) {
        return new CommonResult(4424, "自定义限流处理信息....CustomerBlockHandler");
    }
}
